#!/bin/sh
dockerUrl="registry.cn-zhangjiakou.aliyuncs.com/techbrew/tb3_base"
latest="latest"
docker build --rm -t "${dockerUrl}:$1" -f DockerfileBase . &&
  docker tag "${dockerUrl}:$1" "${dockerUrl}:${latest}";
#docker push "${dockerUrl}:$1" && docker push "${dockerUrl}:${latest}"